<?php
exit();
$model = new Model();
$model->select = "id, name";
$model->where = "";
$model->order = "name ASC";
$model->getdata('category');
$data['categories'] = $model->fetchAll();


$model->select = '*';
$model->order = "ten ASC";
$model->getdata('truyen');
$data['stories'] = $model->fetchAll();


loadview('template/header',$data);
loadview('user/getstorychapt',$data);